#pragma once
#include "HeaderIP.hpp"

#ifndef libIntelligentParser_H
#define libIntelligentParser_H

class libIntelligentParser
{
public:
	libIntelligentParser();
	~libIntelligentParser();
public:
	//�����Ǵ�Դ��Ƶ�� ��I֡��ʾ�����������˲�����Ƭ�������
	int get_samples_picture_by_hand(std::string video_file, std::string picture_filepath, cv::Size siz);
private:
	static void mouseRectHandler(int m_event, int x, int y, int flags, void * param);//����һ������¼���get_samples_picture_by_handʹ�� �農̬���ɷ���header
	static cv::Mat cat_frame;
	static cv::Size cat_size;
	static cv::Rect cat_rect;
	static bool cat_b;//
	static std::string cat_picturefile;
	static int cat_width, cat_height;
	static uint cat_picture_num;
	//
};

#endif //libIntelligentParser_H